package com.danskin.wechat.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.WxNewsArticle;
import com.danskin.wechat.entity.example.WxNewsArticleExample;

public interface WxNewsArticleDao {
    int countByExample(WxNewsArticleExample example);

    int deleteByExample(WxNewsArticleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxNewsArticle record);

    int insertSelective(WxNewsArticle record);

    List<WxNewsArticle> selectByExample(WxNewsArticleExample example);

    WxNewsArticle selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxNewsArticle record, @Param("example") WxNewsArticleExample example);

    int updateByExample(@Param("record") WxNewsArticle record, @Param("example") WxNewsArticleExample example);

    int updateByPrimaryKeySelective(WxNewsArticle record);

    int updateByPrimaryKey(WxNewsArticle record);
}